<?xml version="1.0" encoding="UTF-8"?>

<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:c="http://java.sun.com/jsp/jstl/core"
	xmlns:fn="http://java.sun.com/jsp/jstl/functions"
	xmlns:p="http://primefaces.org/ui"
	xmlns:hmrTable="http://java.sun.com/jsf/composite/table">

	<div style="min-height:90%;height:90%;width:100%"> 
		<hmrTable:equipTable handler="#{teacherBean.equipmentTable}"  title="#{msgs.AcademyEquipments}" />
	</div>
	<h:form>
		<div align="left"   >
			<p:commandButton value="#{msgs.Save} #{msgs.Equipments}" action="#{teacherBean.saveEquipments}" 
				ajax="true"	update=":growl,:content"		icon="ui-icon-disk" />
			<p:spacer width="50px"/>	
			<p:commandButton  value="#{msgs.Cancel}"	action="#{teacherBean.loadAcademyEquipments}" ajax="true"	update=":growl,:content"	icon="ui-icon-cancel"/>
		</div>	
	</h:form>
</html> 